//
//  CommonCouponModel.h
//  BaseProject
//
//  Created by 王洋 on 2020/8/12.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

/*
 {
     couponType = "";
     createEndTime = "";
     createStartTime = "";
     scoCategory = 1;
     scoCity = "";
     scoCouponType = "";
     scoCreateTime = "2020-08-14 11:30:09";
     scoCreateUser = admin;
     scoCut = 50;
     scoEffectiveEndtime = "2020-09-30 00:00:00";
     scoEffectiveStartime = "2020-08-11 12:00:00";
     scoFull = 500;
     scoGetEndtime = "2020-09-30 00:00:00";
     scoGetStartime = "2020-08-12 12:00:00";
     scoGoodsId = "";
     scoId = 7982455071418462208;
     scoIsDel = 2;
     scoIsShow = 1;
     scoIsSign = 1;
     scoIsSuperposition = "";
     scoIssued = 0;
     scoIssueded = "";
     scoLimitEveryday = 2;
     scoLimitEverydayEveryone = 1;
     scoLimitEveryone = 2;
     scoName = 0812;
     scoNewuserRegisterEndtime = "2020-08-12 00:00:00";
     scoNewuserRegisterStartime = "2020-08-11 00:00:00";
     scoOlduserRecommendNum = "";
     scoProportion = 50;
     scoReceiveTerm = "";
     scoRemark = "";
     scoSellerId = "";
     scoSignEndtime = "2020-09-30 00:00:00";
     scoSignStartime = "2020-08-12 12:00:00";
     scoStatus = 1;
     scoTotal = 500;
     scoType = 1;
     scoUpdateTime = "";
     scoUpdateUser = "";
     sellerName = "";
     type = platfromAllowance;
     typeCode = 1;
     typeId = 1;
     typeName = "\U5168\U573a\U5238";
 }
 */

@interface CommonCouponModel : NSObject
//券ID
@property (nonatomic, copy) NSString *scoId;

//用户领取券后用到
@property (nonatomic, copy) NSString *ucId;



@property (nonatomic, copy) NSString *scoGoodsId;
@property (nonatomic , assign) NSInteger  goodsVersion;


@property (nonatomic, copy) NSString *sellerId;

@property (nonatomic, copy) NSString *sellerName;



@property (nonatomic, copy) NSString *logoUrl;



@property (nonatomic, assign) NSInteger classId;



@property (nonatomic, assign) NSInteger scoType;

//优惠券的状态0:全部1：待生效2：已生效3：已过期4:可领取
@property (nonatomic, assign) NSInteger couponType;



//领取津贴的状态（1：未使用，2：已使用，3：已过期）
@property (nonatomic, assign) NSInteger status;

//1可使用 2不可使用
@property (nonatomic, assign) NSInteger couponUsa;

//7天内可用
@property (nonatomic, copy) NSString *effectiveDays;

//券名称
@property (nonatomic, copy) NSString *typeName;

@property (nonatomic, copy) NSString *scoName;


//满多少
@property (nonatomic, assign) double scoFull;

//减去的钱
@property (nonatomic, assign) double scoCut;



//减去的钱
//@property (nonatomic, assign) double scoTotal;


@property (nonatomic, copy) NSString *scoSignStartime;
@property (nonatomic, copy) NSString *scoSignEndtime;


@property (nonatomic, copy) NSString *scoEffectiveEndtime;
@property (nonatomic, copy) NSString *scoEffectiveStartime;



#pragma mark 自定义字段

@property (nonatomic, assign) CGFloat itemHeight;

//可选
@property (nonatomic, assign) BOOL calSel;
//已选
@property (nonatomic, assign) BOOL isSel;

//是推荐优惠券
@property (nonatomic, assign) BOOL isRec;

@end

NS_ASSUME_NONNULL_END
